<?php 
$id = $_GET['id'];
$dsn = "mysql:host=127.0.0.1;dbname=goods;charset=utf8";
$pdo = new PDO($dsn,"root","root");
$sql = "select * from `import` where id='$id'";
$st = $pdo->query($sql);
$data = $st->fetch(PDO::FETCH_ASSOC);

 ?>
 <!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>修改</title>
</head>
<body>
	<center>
	<form action="add_do.php" method="post">
		<table>
				<tr>
					<td>姓名：</td>
					<td><input type="text" name="name"></td>
				</tr>
				<tr>
					<td>年龄：</td>
					<td><input type="text" name="age"></td>
				</tr>
				<tr>
					<td>薪资：</td>
					<td><input type="text" name="money"></td>
				</tr>
				<tr>
					<td><input type="submit" value="修改"></td>
				</tr>
		</table>
	</form>
	</center>
</body>
</html>